Archetype.Templates.TrimpathTemplate = Archetype.Class.create({
	initialize: function(template) {
		this.templateObject = TrimPath.parseTemplate(template);
	},
	evaluate: function(object) {
		return this.templateObject.process(object);
	}
});